package com.spvs.job.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spvs.common.core.annotation.Excel;
import com.spvs.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 巡检记录对象 equip_patrol_record
 *
 * @author supervision
 * @date 2024-06-09
 */

public class EquipPatrolRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 巡检任务编码 */
    private Long id;

    /** 计划ID */
    @Excel(name = "计划ID")
    private Long planId;

    /** 计划ID */
    @Excel(name = "计划ID")
    private Long deviceId;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String equipmentCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 计划巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planPatrolTime;

    /** 实际巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualPatrolTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;
    private Date effectiveDate;

    /** 附件 */
    @Excel(name = "附件")
    private String fileUrl;

    /** 负责人 */
    @Excel(name = "负责人")
    private String liablePerson;

    private Long deptId;

    private Integer state;
    private Integer type;// 0 系统  1 手动

    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    private Integer taskType;// 0 系统  1 手动

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public Date getPlanPatrolTime() {
        return planPatrolTime;
    }

    public void setPlanPatrolTime(Date planPatrolTime) {
        this.planPatrolTime = planPatrolTime;
    }

    public Date getActualPatrolTime() {
        return actualPatrolTime;
    }

    public void setActualPatrolTime(Date actualPatrolTime) {
        this.actualPatrolTime = actualPatrolTime;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getLiablePerson() {
        return liablePerson;
    }

    public void setLiablePerson(String liablePerson) {
        this.liablePerson = liablePerson;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
}
